package com.gdth.bank.event;

public class MessageEvent {

	private String message; // 消息内容
	private int type; // 消息类型

	public MessageEvent(int type, String message) {
		this.type = type;
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public final static int NOTIFICATION_DEL = 1; // 删除通知
	public final static int NOTIFICATION_READ = 2; // 改为已读
	public final static int NOTIFICATION_NEWDATA = 3; // 获取到新数据
	public final static int NOTIFICATION_GET = 4; // 获取本地数据
	public final static int CHANGE_NOTIFICATION_NUMBER = 5;
	public final static int SHOWMESSAGETOAST = 6;
	public final static int SHOW_ALL_MONEY = 7;
}
